/****************************************************************************
** Meta object code from reading C++ file 'pstyledframe.h'
**
** Created: Fri Apr 28 22:08:37 2006
**      by: The Qt Meta Object Compiler version 59 (Qt 4.1.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../pstyledframe.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'pstyledframe.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 59
#error "This file was generated using the moc from 4.1.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

static const uint qt_meta_data_PStyledFrame[] = {

 // content:
       1,       // revision
       0,       // classname
       0,    0, // classinfo
       8,   10, // methods
       9,   50, // properties
       0,    0, // enums/sets

 // slots: signature, parameters, type, tag, flags
      21,   14,   13,   13, 0x0a,
      47,   14,   13,   13, 0x0a,
      74,   14,   13,   13, 0x0a,
     101,   14,   13,   13, 0x0a,
     131,   14,   13,   13, 0x0a,
     160,   14,   13,   13, 0x0a,
     190,   14,   13,   13, 0x0a,
     218,   14,   13,   13, 0x0a,

 // properties: name, type, flags
     255,  247, 0x41095103,
     270,  247, 0x41095003,
     290,  247, 0x41095003,
     311,  247, 0x41095003,
     334,  247, 0x41095003,
     358,  247, 0x41095103,
     373,  247, 0x41095103,
     389,  247, 0x41095103,
     406,  247, 0x41095103,

       0        // eod
};

static const char qt_meta_stringdata_PStyledFrame[] = {
    "PStyledFrame\0\0pixmap\0setTopLeftPixmap(QPixmap)\0"
    "setTopRightPixmap(QPixmap)\0setTopFramePixmap(QPixmap)\0"
    "setBottomFramePixmap(QPixmap)\0setBottomLeftPixmap(QPixmap)\0"
    "setBottomRightPixmap(QPixmap)\0setLeftFramePixmap(QPixmap)\0"
    "setRightFramePixmap(QPixmap)\0QPixmap\0backgroundTile\0"
    "topLeftCornerPixmap\0topRightCornerPixmap\0bottomLeftCornerPixmap\0"
    "bottomRightCornerPixmap\0topFramePixmap\0leftFramePixmap\0"
    "rightFramePixmap\0bottomFramePixmap\0"
};

const QMetaObject PStyledFrame::staticMetaObject = {
    { &QFrame::staticMetaObject, qt_meta_stringdata_PStyledFrame,
      qt_meta_data_PStyledFrame, 0 }
};

const QMetaObject *PStyledFrame::metaObject() const
{
    return &staticMetaObject;
}

void *PStyledFrame::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_PStyledFrame))
	return static_cast<void*>(const_cast<PStyledFrame*>(this));
    return QFrame::qt_metacast(_clname);
}

int PStyledFrame::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QFrame::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: setTopLeftPixmap(*reinterpret_cast< QPixmap*>(_a[1])); break;
        case 1: setTopRightPixmap(*reinterpret_cast< QPixmap*>(_a[1])); break;
        case 2: setTopFramePixmap(*reinterpret_cast< QPixmap*>(_a[1])); break;
        case 3: setBottomFramePixmap(*reinterpret_cast< QPixmap*>(_a[1])); break;
        case 4: setBottomLeftPixmap(*reinterpret_cast< QPixmap*>(_a[1])); break;
        case 5: setBottomRightPixmap(*reinterpret_cast< QPixmap*>(_a[1])); break;
        case 6: setLeftFramePixmap(*reinterpret_cast< QPixmap*>(_a[1])); break;
        case 7: setRightFramePixmap(*reinterpret_cast< QPixmap*>(_a[1])); break;
        }
        _id -= 8;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QPixmap*>(_v) = getBackgroundTile(); break;
        case 1: *reinterpret_cast< QPixmap*>(_v) = topLeftPixmap(); break;
        case 2: *reinterpret_cast< QPixmap*>(_v) = topRightPixmap(); break;
        case 3: *reinterpret_cast< QPixmap*>(_v) = bottomLeftPixmap(); break;
        case 4: *reinterpret_cast< QPixmap*>(_v) = bottomRightPixmap(); break;
        case 5: *reinterpret_cast< QPixmap*>(_v) = topFramePixmap(); break;
        case 6: *reinterpret_cast< QPixmap*>(_v) = leftFramePixmap(); break;
        case 7: *reinterpret_cast< QPixmap*>(_v) = rightFramePixmap(); break;
        case 8: *reinterpret_cast< QPixmap*>(_v) = bottomFramePixmap(); break;
        }
        _id -= 9;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setBackgroundTile(*reinterpret_cast< QPixmap*>(_v)); break;
        case 1: setTopLeftPixmap(*reinterpret_cast< QPixmap*>(_v)); break;
        case 2: setTopRightPixmap(*reinterpret_cast< QPixmap*>(_v)); break;
        case 3: setBottomLeftPixmap(*reinterpret_cast< QPixmap*>(_v)); break;
        case 4: setBottomRightPixmap(*reinterpret_cast< QPixmap*>(_v)); break;
        case 5: setTopFramePixmap(*reinterpret_cast< QPixmap*>(_v)); break;
        case 6: setLeftFramePixmap(*reinterpret_cast< QPixmap*>(_v)); break;
        case 7: setRightFramePixmap(*reinterpret_cast< QPixmap*>(_v)); break;
        case 8: setBottomFramePixmap(*reinterpret_cast< QPixmap*>(_v)); break;
        }
        _id -= 9;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 9;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
